package net.lab1024.smartadmin.module.weapp.orders.domain.dto;

import lombok.Data;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

/**
 * 新建 [  ]
 *
 * @author wuqian
 * @version 1.0
 * @company 五千
 * @copyright (c) 2018 五千Inc. All rights reserved.
 * @date  2021-03-10 15:12:30
 * @since JDK1.8
 */
@Data
public class OrdersAddDTO {
    @ApiModelProperty("工单类型 1 ")
    private Long wot;

    @ApiModelProperty("no")
    private String no;

    @ApiModelProperty("工单名称")
    private String title;

    @ApiModelProperty("工单提交者")
    private Long fromUid;

    @ApiModelProperty("可见范围")
    private Integer visibleRange;

    @ApiModelProperty("from_openid")
    private String fromOpenid;

    @ApiModelProperty("to_uid")
    private Long toUid;

    @ApiModelProperty("to_openid")
    private String toOpenid;

    @ApiModelProperty("部门id")
    private Long departmentId;

    @ApiModelProperty("联系人电话")
    private String mobile;

    @ApiModelProperty("联系人姓名")
    private String actualName;

    @ApiModelProperty("问题描述")
    private String problemDetails;

    @ApiModelProperty("图片")
    private String[] pics;

    @ApiModelProperty("工单状态 0 初始 1 已接受  2 已完成")
    private Integer statue;

    @ApiModelProperty("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;


}
